package com.probiz.estore.common.model.eai.log;

import com.probiz.estore.common.model.eai.log.base.EaiJobLogTbl;

/**
 * Model class for EaiJobLog. Add not database mapped fileds in this class.
 */
public class EaiJobLog extends EaiJobLogTbl {

  	/** 任务当前执行的状态 成功*/
	public final static Short STATUS_SUCCESS = new Short("1");
	/** 任务当前执行的状态 失败*/
  	public final static Short STATUS_FAILED = new Short("0");
  	
	/**
	 * Default Empty Constructor for class EaiJobLog
	 */
	public EaiJobLog () {
		super();
	}
	
	/**
	 * 定义实体的业务名取值； eaiJobLogName
	 * 必须手工完成这个部分，否则编译不通过。
	 */
	public String getEaiJobLogName () {
		if (eaiJobLogId == null)
	        return "";
	    else
			//返回一个指定有业务意义的属性值;
			//如：product的VO就用product.productName
	        return this.getJobName();
	}
	
	/**
	 * Default Key Fields Constructor for class EaiJobLog
	 */
	public EaiJobLog (
		 Integer in_eaiJobLogId
		) {
		super (
		  in_eaiJobLogId
		);
	}

}
